package cn.edu.xmu.wnw.pojo;

import java.util.Date;


/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String sender;
     private String content;
     private String receipt;
     private Date createTime;


    // Constructors

    /** default constructor */
    public Message() {
    }

    
    /** full constructor */
    public Message(String sender, String content, String receipt, Date createTime) {
        this.sender = sender;
        this.content = content;
        this.receipt = receipt;
        this.createTime = createTime;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getSender() {
        return this.sender;
    }
    
    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getReceipt() {
        return this.receipt;
    }
    
    public void setReceipt(String receipt) {
        this.receipt = receipt;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   








}